﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Left.aspx.cs" Inherits="TeacherEval_School_ScoreInput_Left" %>

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title></title>
    <link type="text/css" rel="stylesheet" href="../../Common/css/main.css" />
</head>
<script type="text/javascript" language="javascript">
    var currentselect=-1;
    var currentS;
    function Nav1(id)
    {
        removeActiveStyle();
        document.getElementById(id).className = "active";
        var liList = document.getElementById("detailLi");
        liList.style.display = "none";
        
        if(currentselect != id)
        {
            currentS = document.getElementById(id);           
            parent.frames["mainFrame"].location.href="msgPage.html";           
        }
    }
    function Nav(id,Attribute,key)
    {
         removeActiveStyle();
        document.getElementById(id).className = "active";
        var liList = document.getElementById("detailLi");
        liList.style.display = "none";
        
        if(currentselect != id)
        {
            if(currentS!=null)
            {
             //  currentS.style.backgroundColor = "#ffffff";
            }
            currentS = document.getElementById(id);
          //  currentS.style.backgroundColor = "#fffccf";

            if(Attribute==4)
            {
                parent.frames["mainFrame"].location.href="MyEvaler.aspx?id="+id+"&key="+key;
            }
            if(Attribute==3)
            {
                if(key == "Teacher_Month_Eval")
                    parent.frames["mainFrame"].location.href="TeacherOverView.aspx?id="+id+"&key="+key;
                    
                if(key == "ClassHeader_Month_Eval")
                    parent.frames["mainFrame"].location.href="HeaderOverView.aspx?id="+id+"&key="+key;
            }
            
        }
        
      
    }
     /**
            移除active样式
        */
        function removeActiveStyle() {
            var liList = document.getElementsByTagName("li");
            for (var i=0; i<liList.length; i++) {
                liList[i].className = "";
            }
        }
     
</script>
<body>
    <form id="form1" runat="server">
    <div class="leftWarp">
	    <div class="menuBody">
	        <div class="menuList" >
                    <dl>
                        <h2>
                            教 师 评 估</h2>
                        <%=GetMenu() %>
                    </dl>
                </div>
            </div>
        </div>
    </form>
</body>
</html>
<script type='text/javascript' language='javascript'> <%= first %> </script>